* Oversight or Representation? Public Opinion and Impeachment Resolutions in Argentina and Brazil
* Mariana Llanos, GIGA
* Anibal Perez-Linan, University of Notre Dame
* Replication file, March 10, 2020


* Replication set includes three files:
1) 1_QuarterlyResolutions.dta (Stata data file)
2) 1_MonthlyResolutions.dta (Stata data file)
3) 2_Replication (Stata do file)


*** 1_QuarterlyResolutions.dta ***

Variable      Obs Unique      Mean        Min       Max  Label
--------------------------------------------------------------------------------------------------------
cowcode       248      2  151.0484        140       160  Correlates of War country code
ccode         248      2         .          .         .  Country
year          248     35  2001.827       1983      2017  Year
president     248     13  1514.073       1401      1607  President (numeric)
president2    248     13         .          .         .  President (string)
date3         248    137  168.8185         95       231  Quarter
t             248     96  39.16532          1       123  Months in office
q1            248      2  .0927419          0         1  First quarter
q2            248      2  .0645161          0         1  Second quarter
q3            248      2  .0564516          0         1  Third quarter
qL            248      2  .0403226          0         1  Last quarter
g_h           248     87  51.42647    24.0404  77.19299  Coalition %
requests      248     15  1.104839          0        23  Resolutions
requests_1    248     13  .9556452          0        21  Resolutions t-1
legislators   248      6  .2782258          0         6  Legislators' resolutions
legislator~1  248      5  .2540323          0         6  Legislators t-1
private_1     248     11  .7016129          0        15  Citizen resolutions t-1
private       248     12  .8266129          0        23  Citizen resolutions
approval      248    204  43.16918          4        84  Approval
approval_1    248    199   44.1342          4        84  Approval t-1
qgrowth       248    248  .5583156  -13.24957  11.08883  Growth
qgrowth_1     248    247  .5371792  -13.24957  11.08883  Growth, t-1
inflation     248    244  4.710764  -.2817631  81.28353  Inflation
inflation_1   248    236   4.89932  -.2526306  98.68481  Inflation, t-1
antigov       248      7  .5403226          0         8  Anti-government demonstrations
antigov_1     248      7   .516129          0         8  Demonstrations, t-1
t2            248     96  2420.069          1     15129  Months^2
--------------------------------------------------------------------------------------------------------


*** 1_MonthlyResolutions.dta ***

Variable      Obs Unique      Mean        Min       Max  Label
--------------------------------------------------------------------------------------------------------
cowcode       742      2  151.0243        140       160  Correlates of War country code
ccode         742      2         .          .         .  Country 
date2         742    409  508.0539        287       695  Month
president     742     13  1513.844       1401      1607  President (numeric)
requests      742     12  .3692722          0        17  Resolutions
requests_1    742     12  .3544474          0        17  Resolutions t-1
legislators   742      6  .0929919          0         6  Legislators' resolutions
legislator~1  742      5  .0849057          0         6  Legislators t-1
private       742     11  .2762803          0        17  Citizen resolutions
private_1     742     11  .2695418          0        17  Citizen resolutions t-1
approval      742    319  43.05912          3        84  Approval
approval_1    742    318  43.44315          3        84  Approval t-1
inflation     742    660  4.675755        -.8  196.6339  Inflation
inflation_1   742    643   4.82968        -.8  196.6339  Inflation, t-1
g_h           742     72   51.4301    24.0404  77.19299  Coalition %
month         742     12  6.525606          1        12  month (number)
year          742     35  2001.877       1983      2017  year
date3         742    137  169.0175         95       231  Quarter
president2    742     13         .          .         .  president (string)
qgrowth       742    248  .5593346  -13.24957  11.08883  Growth, q (quarterly, reported)
mgrowth       742    248  .1749257  -4.627345  3.567492  Growth, m (monthly, estimate)
mgrowth_1     742    249   .172544  -4.627345  3.567492  Growth, t-1 (alternative)
qgrowth_1     742    249  .5522701  -13.24957  11.08883  Growth, t-1 (used in models)
antigov       742      6   .180593          0         6  Anti-government demonstrations
antigov_1     742      6  .1765499          0         6  Demonstrations, t-1
t             742    125  39.97305          1       125  Months in office
t2            742    125  2487.469          1     15625  Months^2
q1            742      2  .0700809          0         1  First quarter
q2            742      2  .0700809          0         1  Second quarter
q3            742      2  .0700809          0         1  Third quarter
qL            742      2  .0404313          0         1  Last quarter
--------------------------------------------------------------------------------------------------------


*** 2_Replication ***

The do file replicates the descriptives and the analysis presented in the article, including 
- Figures 1, 2, and 4 
- Tables  1, 2, 3, and 4
Note: Tables 1 and 2 are presented separately in the paper, but result from a single simultaneous equation model 
